target("pcforcs")
    set_kind("shared")
    add_includedirs("../thirdpart/pointscloud/include","../thirdpart/cstructures/include","../thirdpart/eigen/Eigen"
        ,"../thirdpart/glad/include","../thirdpart/glfw/include","../thirdpart/libcell/include",
        "../thirdpart/viewer/include","./include")
    add_files("*.cpp","*.c","../lib/cstructures.lib",
        "../lib/cstruct_iterator.lib","../lib/libcell.lib","../lib/pointscloud.lib"
        ,"../lib/viewer_matrix4x4.lib")
   -- add_files("test_denosing.cpp","../lib/*.lib")
    if is_plat("windows") then
        if is_plat("mingw") then
        else
           add_cxflags("-MD")
           add_cxxflags("-MD") 
        end
    end
    --add_files("*.c") 
    set_targetdir("../temp_libs")
    --add_links("cstructures")
    --add_linkdirs("../temp_libs")
    ----add_cflags("-L ../temp_libs")